#ifndef _SEGMENT_RASTERIZATION_H_
#define _SEGMANT_RASTERIZATION_H_

#include <iostream>
#include <vector>
#include <map>
#include <cmath>
#include <boost/bind.hpp>
#include <boost/function.hpp>
#include "polygon.h"
#include "cell.h"
#include "point.h"
#include "segment.h"
#include "grid.h"


std::vector<cell_t> rasterize(segment_t const & segment, double cell_size, boost::function<void (cell_t &, segment_t const &)> processor);

#endif
